package com.woniuxy.sales.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName 用户表
 */
@TableName(value ="users")
@Data
public class Users implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer userId;  //用户id

    private String username;  //用户名

    private String password;  //用户密码

    private String email;  //用户邮箱

    private String phone;  //用户手机号


    @TableField(fill = FieldFill.INSERT)
    private Date registrationDate;  //用户注册时间

    private String avatar;  //用户头像图片

    private static final long serialVersionUID = 1L;
}